//
//  MonsterPropertyView.h
//  FruitCrush
//
//  Created by gaoyu on 15/8/7.
//
//

#ifndef __FruitCrush__MonsterPropertyView__
#define __FruitCrush__MonsterPropertyView__
#include "cocos2d.h"
USING_NS_CC;

typedef enum {
    MonsterPropertyShowTypeNone,
    MonsterPropertyShowTypeSwordWeak,
    MonsterPropertySHowTypeSwordImmune,
    MonsterPropertyShowTypeArrowWeak,
    MonsterPropertySHowTypeArrowImmune,
    MonsterPropertyShowTypeFireWeak,
    MonsterPropertySHowTypeFireImmune,
    MonsterPropertyShowTypeLightWeak,
    MonsterPropertySHowTypeLightImmune,
    MonsterPropertyShowTypeMax,
} MonsterPropertyShowType;

class MonsterPropertyView : public cocos2d::Layer
{
public:
    CREATE_FUNC(MonsterPropertyView);
    virtual bool init() override;
    MonsterPropertyView();
    void addPropertyState(int type);
    __String getFileName(int type);
    
private:
    int index;
};

#endif /* defined(__FruitCrush__MonsterPropertyView__) */
